<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">



  
  
    
    
  <script src="/dxl/lib/pace/pace.min.js?v=1.0.2"></script>
  <link href="/dxl/lib/pace/pace-theme-minimal.min.css?v=1.0.2" rel="stylesheet">







<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/dxl/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/dxl/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/dxl/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/dxl/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/dxl/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/dxl/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/dxl/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="面试题,">










<meta name="description" content="一、表结构1、rbac权限 1234567891011菜单表menu    	标题、图标、权重       权限表	标题、权限、别名	关系字段：parent所属关系，menu是否显示在左侧菜单角色表	名称	关系字段：permissions         用户表 	名字、密码	关系字段：roles 关联角色，用户分权限  二、权限三、业务逻辑3.1用户登录1、用户登录 12345678910111">
<meta name="keywords" content="面试题">
<meta property="og:type" content="article">
<meta property="og:title" content="crm项目复习">
<meta property="og:url" content="http://yoursite.com/2019/09/20/【面试题】04-1crm项目复习/index.html">
<meta property="og:site_name" content="我的快乐时光">
<meta property="og:description" content="一、表结构1、rbac权限 1234567891011菜单表menu    	标题、图标、权重       权限表	标题、权限、别名	关系字段：parent所属关系，menu是否显示在左侧菜单角色表	名称	关系字段：permissions         用户表 	名字、密码	关系字段：roles 关联角色，用户分权限  二、权限三、业务逻辑3.1用户登录1、用户登录 12345678910111">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2019-09-20T12:07:39.275Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="crm项目复习">
<meta name="twitter:description" content="一、表结构1、rbac权限 1234567891011菜单表menu    	标题、图标、权重       权限表	标题、权限、别名	关系字段：parent所属关系，menu是否显示在左侧菜单角色表	名称	关系字段：permissions         用户表 	名字、密码	关系字段：roles 关联角色，用户分权限  二、权限三、业务逻辑3.1用户登录1、用户登录 12345678910111">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/dxl/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":true,"scrollpercent":true,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2019/09/20/【面试题】04-1crm项目复习/">





  <title>crm项目复习 | 我的快乐时光</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/dxl/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">我的快乐时光</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/dxl/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/dxl/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br>
            
            分类
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/dxl/2019/09/20/【面试题】04-1crm项目复习/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content>
      <meta itemprop="description" content>
      <meta itemprop="image" content="/dxl/images/avatar.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="我的快乐时光">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">crm项目复习</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2019-09-20T20:05:12+08:00">
                2019-09-20
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/dxl/categories/面试题/" itemprop="url" rel="index">
                    <span itemprop="name">面试题</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
                <a href="/dxl/2019/09/20/【面试题】04-1crm项目复习/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count valine-comment-count" data-xid="/dxl/2019/09/20/【面试题】04-1crm项目复习/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          
          

          
            <span class="post-meta-divider">|</span>
            <span class="page-pv">本文总阅读量
            <span class="busuanzi-value" id="busuanzi_value_page_pv"></span>次
            </span>
          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="一、表结构"><a href="#一、表结构" class="headerlink" title="一、表结构"></a>一、表结构</h2><p>1、rbac权限</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">菜单表menu    </span><br><span class="line">	标题、图标、权重       </span><br><span class="line">权限表</span><br><span class="line">	标题、权限、别名</span><br><span class="line">	关系字段：parent所属关系，menu是否显示在左侧菜单</span><br><span class="line">角色表</span><br><span class="line">	名称</span><br><span class="line">	关系字段：permissions         </span><br><span class="line">用户表 </span><br><span class="line">	名字、密码</span><br><span class="line">	关系字段：roles 关联角色，用户分权限</span><br></pre></td></tr></table></figure>

<h2 id="二、权限"><a href="#二、权限" class="headerlink" title="二、权限"></a>二、权限</h2><h2 id="三、业务逻辑"><a href="#三、业务逻辑" class="headerlink" title="三、业务逻辑"></a>三、业务逻辑</h2><h2 id="3-1用户登录"><a href="#3-1用户登录" class="headerlink" title="3.1用户登录"></a>3.1用户登录</h2><p>1、用户登录</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#注册</span></span><br><span class="line"><span class="number">1</span>、get请求返回页面</span><br><span class="line"><span class="number">2</span>、post数据校验 </span><br><span class="line">    成功：</span><br><span class="line">    使用了<span class="keyword">from</span>表单  两次密码一致比较 、数据名文改为密文 、数据库数据更新</span><br><span class="line">    不成功：</span><br><span class="line">    返回错误信息</span><br><span class="line"><span class="comment">#登录</span></span><br><span class="line"><span class="number">1</span>、get请求返回页面</span><br><span class="line"><span class="number">2</span>、post请求数据校验</span><br><span class="line">	成功：保存cookie  权限注入session   调转首页</span><br><span class="line">    不成功：返回错误信息</span><br></pre></td></tr></table></figure>

<p>2、分页</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">1、传参</span><br><span class="line">2、求总页码数  有余数+1 没有不加</span><br><span class="line">3、根据当前页确定 首页和尾页</span><br><span class="line">	1）对当前页进行异常处理   page_num</span><br><span class="line">    2）求总页码数   page_num_count</span><br><span class="line">    3）page_num_count 小于展示页码数（page_num_show）  start_page_num = 1 end_page_num = page_num_count + 1</span><br><span class="line">    4）page_num  &lt;page_num_show/2  start_page_num = 1 end_page_num = self.page_num_show + 1</span><br><span class="line">    5）page_num  +page_num_show/2&gt;page_num_count   </span><br><span class="line">    6）正常情况</span><br><span class="line">4、页码标签的拼接：首页，下一页 中间项 下一页 尾页</span><br><span class="line">5、中间写连个函数返回数据库要查询数量的起始个数</span><br></pre></td></tr></table></figure>

<p>3、客户信息的展示、增、删改查</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#进行客户信息展示</span></span><br><span class="line">	<span class="number">1</span>、判断是公户还是私户（根据路径）tag =<span class="number">1</span>(公户)</span><br><span class="line">    <span class="number">2</span>、进行信息的返回</span><br><span class="line"><span class="comment">#添加客户信息/编辑客户信息</span></span><br><span class="line">	<span class="number">1</span>、使用的技术栈 modelfrom  页面的调转</span><br><span class="line">    <span class="number">2</span>、编辑和添加客户信息共用一个视图函数和页面  通过一个标签实现</span><br><span class="line">    <span class="number">3</span>、get post 请求 </span><br><span class="line">    	 get  用于返回静态页面  复选框不进行渲染</span><br><span class="line">         post 请求 修改或添加成功调转上一次页面</span><br><span class="line">              否则返回错误信息</span><br><span class="line"><span class="comment"># 搜索/公户转私户/私户转公户</span></span><br><span class="line">    前段发送的数据 要搜索的字段名  搜索内容</span><br><span class="line">    前段发送   一个标志（走的是一个url） </span><br><span class="line">    <span class="number">1</span>、私户转公户 修改了一个字段</span><br><span class="line">    <span class="number">2</span>、公户转公户 核心是修改字段 </span><br><span class="line">    		存在公司多个员工抢一个客户的情况，后面的员工可能会覆盖前面员工的情况  </span><br><span class="line">        		解决方案：开启事务 ，判断</span><br><span class="line">    <span class="number">3</span>、搜索</span><br><span class="line">    		走的get 路径 对查询到的信息进行二次赛筛选</span><br></pre></td></tr></table></figure>

<p>4、跟进记录管理/报名信息管理/</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#跟进记录管理</span></span><br><span class="line"><span class="number">1</span>、信息展示：</span><br><span class="line">	根据用户的id和delete_status字段进行查找</span><br><span class="line"><span class="number">2</span>、批量删除</span><br><span class="line">	接受前段传输过来的数据  要执行的操作 要删除跟进记录的id</span><br><span class="line">    更改delete_status=<span class="literal">True</span></span><br><span class="line"><span class="number">3</span>、编辑和修改跟进记录</span><br><span class="line">	get请求返回页面</span><br><span class="line">    技术点：默认参数为none  不是none 就是修改</span><br><span class="line">    post请求：</span><br><span class="line">    进行数据的提交、</span><br><span class="line">    寻找记录：可以找到记录是修改 、找不到是添加</span><br><span class="line">    	校验成功：</span><br><span class="line">    		数据库数据的修改</span><br><span class="line">         校验不成功：</span><br><span class="line">        	返回错误信息</span><br><span class="line"><span class="comment">#报名信息管理</span></span><br><span class="line"><span class="number">1</span>、报名信息的展示</span><br><span class="line">	展示销售的多带客户的报名信息</span><br><span class="line"><span class="number">2</span>、报名信息的编辑与添加</span><br><span class="line">	get   请求 返回静态页面</span><br><span class="line">    post  请求  进行数据的校验</span><br></pre></td></tr></table></figure>

<p>5、课程记录与学习纪录</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">分析：</span><br><span class="line">使用的技术点：modelformset_factory</span><br><span class="line">get请求、返回课程纪录</span><br><span class="line">post请求 批量添加课程纪录</span><br></pre></td></tr></table></figure>

<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">from</span> django <span class="keyword">import</span> forms</span><br><span class="line"><span class="keyword">from</span> django.forms.models <span class="keyword">import</span> modelformset_factory</span><br><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">StudyRecordModelForm</span><span class="params">(forms.ModelForm)</span>:</span></span><br><span class="line"></span><br><span class="line">    <span class="class"><span class="keyword">class</span> <span class="title">Meta</span>:</span></span><br><span class="line">        model = models.StudyRecord</span><br><span class="line">        fields = <span class="string">"__all__"</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">StudyRecordView</span><span class="params">(View)</span>:</span></span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">def</span> <span class="title">get</span><span class="params">(self,request,course_record_id)</span>:</span></span><br><span class="line">        <span class="comment"># print(course_record_id)</span></span><br><span class="line">        formset_cls = modelformset_factory(model=models.StudyRecord,form=StudyRecordModelForm,extra=<span class="number">0</span>)</span><br><span class="line">        study_records = models.StudyRecord.objects.filter(course_record_id=course_record_id)</span><br><span class="line">        formset = formset_cls(queryset=study_records)</span><br><span class="line">        <span class="comment"># formset = formset</span></span><br><span class="line">        <span class="comment"># queryset = models.StudyRecord.objects.filter(course_record_id=course_record_id)</span></span><br><span class="line"></span><br><span class="line">        <span class="keyword">return</span> render(request,<span class="string">'saleshtml/studyrecord.html'</span>,&#123;<span class="string">'formset'</span>:formset&#125;)</span><br><span class="line"></span><br><span class="line">    <span class="function"><span class="keyword">def</span> <span class="title">post</span><span class="params">(self,request,course_record_id)</span>:</span></span><br><span class="line">        formset_cls = modelformset_factory(model=models.StudyRecord, form=StudyRecordModelForm, extra=<span class="number">0</span>)</span><br><span class="line">        formset = formset_cls(request.POST)</span><br><span class="line">        <span class="keyword">if</span> formset.is_valid():</span><br><span class="line">            formset.save()</span><br><span class="line">            <span class="keyword">return</span> redirect(request.path)</span><br><span class="line"></span><br><span class="line">        <span class="keyword">else</span>:</span><br><span class="line">            <span class="keyword">return</span> render(request, <span class="string">'saleshtml/studyrecord.html'</span>, &#123;<span class="string">'formset'</span>: formset&#125;)</span><br></pre></td></tr></table></figure>


      
    </div>
    
    
    

    

    

    
      <div>
        <ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者：</strong>
    
  </li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="http://yoursite.com/2019/09/20/【面试题】04-1crm项目复习/" title="crm项目复习">http://yoursite.com/2019/09/20/【面试题】04-1crm项目复习/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>
    本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 3.0</a> 许可协议。转载请注明出处！
  </li>
</ul>

      </div>
    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/dxl/tags/面试题/" rel="tag"># 面试题</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/dxl/2019/09/20/【面试题】02面试题二/" rel="next" title="绿皮书新增面试题">
                <i class="fa fa-chevron-left"></i> 绿皮书新增面试题
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/dxl/2019/09/20/【面试题】04-2智能玩具开发 - 副本/" rel="prev" title="智能玩具项目复习">
                智能玩具项目复习 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
    </div>
  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="/dxl/images/avatar.png" alt>
            
              <p class="site-author-name" itemprop="name"></p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/dxl/archives">
              
                  <span class="site-state-item-count">43</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/dxl/categories/index.html">
                  <span class="site-state-item-count">6</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/dxl/tags/index.html">
                  <span class="site-state-item-count">6</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-inline">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-sign-out"></i>
                我的友链
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="tencent://message/?Menu=yes&uin=1258517737&Site=QQ%E6%9E%81%E5%AE%A2&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45/" title="申请坑位" target="_blank">申请坑位</a>
                  </li>
                
              </ul>
            </div>
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#一、表结构"><span class="nav-number">1.</span> <span class="nav-text">一、表结构</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#二、权限"><span class="nav-number">2.</span> <span class="nav-text">二、权限</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#三、业务逻辑"><span class="nav-number">3.</span> <span class="nav-text">三、业务逻辑</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3-1用户登录"><span class="nav-number">4.</span> <span class="nav-text">3.1用户登录</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      
        <div class="back-to-top">
          <i class="fa fa-arrow-up"></i>
          
            <span id="scrollpercent"><span>0</span>%</span>
          
        </div>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-hand-peace-o"></i>
  </span>
  <span class="author" itemprop="copyrightHolder"></span>

  
</div>









        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv">
      本站访客数
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
      人次
    </span>
  

  
    <span class="site-pv">
      本站总访问量
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
      次
    </span>
  
</div>








        
      </div>
    </footer>

    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/dxl/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/dxl/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/dxl/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/dxl/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/dxl/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/dxl/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/dxl/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/dxl/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/dxl/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/dxl/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/dxl/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/dxl/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/dxl/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  










  <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
  <script src="//unpkg.com/valine/dist/Valine.min.js"></script>
  
  <script type="text/javascript">
    var GUEST = ['nick','mail','link'];
    var guest = 'nick,mail,link';
    guest = guest.split(',').filter(item=>{
      return GUEST.indexOf(item)>-1;
    });
    new Valine({
        el: '#comments' ,
        verify: false,
        notify: false,
        appId: '13B0JGDuA6ttduN8AQaR8CzF-gzGzoHsz',
        appKey: 'I13r9r5mVgq4jQYpYy6V4gW3',
        placeholder: '欢迎大佬指点~~~',
        avatar:'mm',
        guest_info:guest,
        pageSize:'10' || 10,
    });
  </script>



  





  

  

  

  
  

  

  

  

</body>
</html>
